package Action;

import PO.CutOffDatePage;
import com.epwk.action.Action;
import com.epwk.tools.DateFormat;
import org.openqa.selenium.By;

/**
 * Created by Administrator on 2016/11/24.
 */
public class CutOffDate {

    public static void cutOffDate(int day,String type){
//        设置截止时间
        Action.clear(CutOffDatePage.CutOffDate);
        Action.sendkeys(CutOffDatePage.CutOffDate, DateFormat.beforeORLateDate(day,type));

    }

    public static void cutOffDate_xs(int day,String type){
//        设置截止时间
        Action.clear(CutOffDatePage.CutOffDate_xs);
        Action.sendkeys(CutOffDatePage.CutOffDate_xs, DateFormat.beforeORLateDate(day,type));

    }
}
